home *** CD-ROM | disk | FTP | other *** search
/ Gamers Delight 2 / Gamers Delight 2.iso / Aminet / game / misc / Jack.lha / BlackJack / Jack.doc < prev    next >
Text File  |  1994-08-24  |  14KB  |  280 lines

  1.  
  2.                                                               
  3.                                 Black Jack!                   
  4.                                    v2.1                       
  5.                                by Johnny Mopp                 
  6.                                                               
  7.                             No warranties implied.            
  8.                                                               
  9.                     internet: j.corigliano@genie.geis.com     
  10.                                                               
  11.                       Copyright © 1994 John Corigliano        
  12.                                                               
  13.  
  14.                                      Fee
  15.     Giftware. Don't  feel  obligated  to  register,  but  if  you  feel  an
  16.     overwhelming desire to send me something,  then  feel  free  to  do  so
  17.     (unless it's something yucky - like a 486!) ;}
  18.  
  19.                                  Distribution
  20.     Feel free to redistribute this archive as often as you like. Just do me
  21.     a favor and don't change it. These files should be in the archive:
  22.                 Jack          - My neat-o Black Jack Program
  23.                 Jack.info     - its icon
  24.                 Jack.doc      - The file you're reading now.
  25.                 Jack.doc.info - its icon
  26.                 source.lha    - archive containing source code in C
  27.  
  28.                                 * Upgrades * 
  29.     Version 2.1:
  30.         1. Some of the code was re-written in assembler and is now much
  31.            faster - especially shuffling.
  32.         2. Win percentages are now printed.
  33.         3. Tool-types are now used that let you set the default number
  34.            of decks, size of your bank, and whether the statistics
  35.            window will open.
  36.         4. Note to v1.7 users the HIT, STICK, and SRNDR gadgets have
  37.            been rearranged.
  38.     
  39.     Version 1.7:
  40.         1. You can now Double Down on any hand.
  41.         2. You can now Surrender on any hand.
  42.         3. Aces are automatically calculated for you.
  43.         4. A tie is now considered a Push.
  44.         5. You now win with Black Jack (ooops :)
  45.         6. 5-Card-Under is no longer allowed.
  46.  
  47.                                 * Bug Fixes * 
  48.     Version 1.7 failed to properly calculate the size of the window's
  49.     title bar. It also was not very font-sensitive.
  50.     Version 1.7 would lock-up if you did not use a decimal point in
  51.     your wager: entering 10 instead of 10.00 would cause this.
  52.  
  53.     Version 1.0 contained a fatal bug that no body (hopefully) ever  found:
  54.     the program tried to access an Intuition Message AFTER replying to  it!
  55.     It don't do that no more.
  56.     Version 1.0 miscalculated the stats, but not any more.
  57.     Version 1.0 mis-shuffled when eight decks were used.
  58.  
  59.  
  60.                                                 
  61.                                   How to Play   
  62.                                                 
  63.  
  64.                                Object of the Game
  65.     The goal is to score more points than your opponent, the Dealer;  with-
  66.     out scoring score more that 21 points. Points are gained by summing the
  67.     values of cards which you are dealt. To make things more interesting, a
  68.     wager is placed on each hand.
  69.  
  70.                                   Terminology
  71.         Hit           - to ask for another card
  72.         Stick         - to take no more cards
  73.         Tap           - to go over 21 points
  74.         Black Jack    - an Ace and a 10-Card
  75.         Hole Card     - the Dealers second card
  76.         Card Counting - a method of memorizing cards that have been dealt
  77.         Split        \
  78.         Double Down   > Special options
  79.         Surrender    /
  80.         Insurance     - Protection against Black Jack.
  81.  
  82.  
  83.                                Getting Started
  84.     Using the tool-types:
  85.     None of these tool-types are required, as they all have default
  86.     values. They can be used from CLI and they must be capitalized.
  87.  
  88.     STATS
  89.         This switch will force the statistics window to open automatically.
  90.  
  91.     NODELAY
  92.         After a card is dealt the program pauses ever-so-slightly and  this
  93.         lets you see the cards as they are being dealt.  If  you  want  the
  94.         game to move faster, use the NODELAY switch and the cards  will  be
  95.         dealt as quickly as possible.
  96.  
  97.     BANK=<n>
  98.         This will set your bankroll to <n> dollars. Valid range is 0.10
  99.         through 1.701412E+38.
  100.         Default = 100.00.
  101.  
  102.     DECKS=<n>
  103.         This will determine the number of decks to be used. You may, at any
  104.         point in the game, change the number of decks to use.
  105.         Valid values for <n> are: 1, 2, 4, 8.
  106.         Default = 1.
  107.  
  108.  
  109.                                 Playing a Hand
  110.  
  111.     When you're all set to play, click the Deal gadget to start a new hand.
  112.     Four cards are then dealt: two to you and two to the Dealer. Also,  the
  113.     Deal and Wager gadgets are turned off and the Hit and Stick gadgets are
  114.     turned on. An amount equal to your Bet is removed from your Bank. After
  115.     that, if your Bank is half as large as your Bet  the  Srndr  gadget  is
  116.     turned on. Also, if your bank is as large as your bet, the DD gadget is
  117.     turned on.
  118.  
  119.                                  Taking a Hit
  120.     If the sum of your first two cards is less than 21 you have  have  many
  121.     options. One is to take a Hit. To do this click  the  Hit  gadget.  You
  122.     will be dealt another card and your score will  be  re-calculated.  You
  123.     may continue to Hit until your score is greater than or equal to 21.
  124.  
  125.                                    Sticking
  126.     If you are happy with your hand click the Stick gadget  to  notify  the
  127.     dealer that you do not want any more cards. The dealer will  then  take
  128.     his turn.
  129.  
  130.                           Special Bet #1: Double Down
  131.     After the initial deal (when you have only two cards) and if your  Bank
  132.     is greater than or equal to your Bet you have the  option  of  Doubling
  133.     Down. To Double Down click the DD gadget. You will be  dealt  only  ONE
  134.     more card and your turn will end. Also, your bet is DOUBLED.
  135.  
  136.                            Special Bet #2: Surrender
  137.     After the initial deal and if your Bank is greater  than  or  equal  to
  138.     half of your Bet, you have the option  of  Surrendering.  To  surrender
  139.     click the SRNDR gadget. You will be refunded half of your original bet,
  140.     your hand will be removed and you will be dealt two fresh cards. Lastly
  141.     a sum equal to your original Bet is removed from  your  Bank  and  your
  142.     turn continues as normal. Essentially, for the cost of half your  orig-
  143.     inal Bet you get to throw out your first two  cards  and  get  two  new
  144.     ones.
  145.  
  146.                              Special Bet #3: Split
  147.     If your first two cards are equal (i.e. 2 Jacks,  2  nines,  etc.)  you
  148.     will be offered the option to Split. A requester will appear and if you
  149.     want to Split click Okay, else click Cancel. If you choose to split one
  150.     of your cards will be put aside temporarily and you will be dealt a new
  151.     card. Play the hand as normal. When you have finished the  first  hand,
  152.     those cards are discarded and the  card  that  was  put  aside  earlier
  153.     returns. You are dealt another card. Play the second  hand  as  normal.
  154.     You bet seperately on each hand and each hand  is  scored  individually
  155.     against the Dealer's. Thus, if  your  original  bet  was  $10.00,  your
  156.     second bet will be $10.00 also. Let's assume you score 20 on the  first
  157.     hand and 23 on the second and the Dealer scored 19. You  will  win  the
  158.     first hand and collect $20.00 but will lose the second  hand  and  lose
  159.     $10.00. Note: you cannot Surrender on a Split.
  160.  
  161.                           Special Bet #4: Insurance
  162.     If the Dealer's first card is an Ace you will be offered the option  of
  163.     an Insurance bet. A requester will appear and if you want to place  the
  164.     Insurance bet click Okay, else click Cancel. If you want the  Insurance
  165.     an amount equal to half of your original bet will be removed  from  the
  166.     Bank. If the Dealer's hole card is a 10-card he will have a Black  Jack
  167.     and you will lose your original bet (unless you also have a Black Jack,
  168.     in which case you Push). However, you will win the  Insurance  bet.  On
  169.     the other hand, if the Dealer's second card is not a 10-card  you  lose
  170.     the Insurance bet and play resumes as normal.
  171.  
  172.  
  173.                                   Scoring
  174.  
  175.     The point values for the cards are:
  176.             Cards 2 thru 9 - their value is equal to their number.
  177.                              i.e. a nine-of-spades has a value of nine.
  178.             '10-cards'     - 10's, Jacks, Queens and Kings all have a
  179.                              value of ten points.
  180.             Aces           - can be either one point or eleven points.
  181.     Note: suits (Hearts, Diamonds, Clubs, and Spades) have  no  bearing  on
  182.     the score.
  183.  
  184.                                      Aces
  185.     When you are dealt an Ace the computer automatically determines whether
  186.     the Ace will have a value of one or eleven.  Let's  assume  your  first
  187.     card is an Ace. The computer will score it  as  eleven.  Then  you  are
  188.     dealt a four. The computer will score your hand as 15 (11 + 4). This is
  189.     known as a 'Soft Hand' because it has a hard value of  15  and  a  soft
  190.     value of 5 (1 + 4). Let's say you to take a hit and are  dealt  a nine.
  191.     The computer will re-calculate your score as  14  (1 + 4 + 9).  If  the
  192.     computer wasn't very smart and calculated the score as 24  (11 + 4 + 9)
  193.     you would have tapped. That's no good!
  194.  
  195.                                    Black Jack
  196.     Black Jack happens when you have two cards and one of them  is  an  Ace
  197.     and one of them is a 10-card (10, Jack, Queen or King).
  198.  
  199.  
  200.                                 Winning and Losing
  201.  
  202.     After your turn ends the computer goes. When he is finished the  winner
  203.     is determined. You WIN if:
  204.             1. Your score is 21-or-less and greater than the Dealer's.
  205.             2. Your score is 21-or-less and the Dealer Taps Out.
  206.             3. You have a Black Jack and the Dealer doesn't.
  207.     You LOSE if:
  208.             1. Your score is 21-or-less and the Dealer's score is
  209.                21-or-less and your score is less than the Dealer's score.
  210.             2. Your score is greater than 21.
  211.             3. The Dealer has Black Jack.
  212.     You PUSH if:
  213.             1. Your score is equal to the Dealer's score (and both are
  214.                21-or-less).
  215.             2. You and the Dealer both have Black Jack.
  216.  
  217.  
  218.                                  Wager Payoffs
  219.  
  220.                                  Standard: 1-1
  221.                                 BlackJack: 3-2
  222.                                 Insurance: 2-1
  223.  
  224.     Whenever you win or push you automatically get your bet  back.  If  you
  225.     win you get your bet plus an amount equal to your bet. If you win  with
  226.     Black Jack, you get your bet plus an amount equal to  one  and  a  half
  227.     times your bet. If you collect an Insurance bet, you get your insurance
  228.     bet plus two times your insurance bet. For instance, if you bet  $10.00
  229.     and win, you collect $20.00. If bet $10.00 and you win with Black  Jack
  230.     you  collect $25.00. If you have a bet of $10.00 and an  Insurance  bet
  231.     of $5.00 and the Dealer has  Black  Jack  you  collect  $15.00  on  the
  232.     Insurance, but lose your $10.00 bet (you break even).
  233.  
  234.  
  235.                                  Strategy
  236.  
  237.     * The Dealer must follow these rules:
  238.         1. He must Hit when he has 16 points or less.
  239.         2. He must Stick when he has 17 points or more.
  240.         3. He must Stick on a 'Soft-17' (an Ace and a 6 - 9).
  241.  
  242.     * Keep in mind that the odds of you or the  Dealer  getting  a  10-card
  243.       are better than getting a low card. In each deck there are only  four
  244.       of each low card (four 2's, four 3's, four  4's  ...  four  9's)  but
  245.       there are sixteen 10-cards. So, given a fresh deck, the odds of  get-
  246.       ting a low card are 4/52 = 7.7%, but the odds of  getting  a  10-card
  247.       are 16/52 = 30.8%. Of course these odds change  as  cards  are  dealt
  248.       from the deck. Thus, if the Dealer has a 7, 8 or  9  showing,  it  is
  249.       usually safe to ASSUME his hole card is a 10-card. So, if  your  hand
  250.       is less than the Dealer's up-card plus ten, you should probably  take
  251.       a Hit.
  252.       For those of you who might find this logic a bit convoluted, think of
  253.       it this way: there are 13 cards per suit and 4 suits per deck.  Thus,
  254.       given a fresh deck the odds of getting any given card are 4  /  52  =
  255.       7.7%. However, the odds of that card being a 10 card are  4  /  13  =
  256.       30.8% because 4 of the 13 cards in each suit are 10-cards (10,  Jack,
  257.       Queen and King).
  258.  
  259.     * To get a better grasp  on  these  odds,  open  the  Stats  window  by
  260.      selecting the Game->Stats menu-item. This window prints out info about
  261.      how the cards are being dealt. (Though, currently this info is  a  bit
  262.      limited.)
  263.  
  264.     * Use the Surrender option cautiously! Only use it when  you  are  sure
  265.      that the Dealer has a great hand that you can't beat.
  266.  
  267.     * Many pro's think that Insurance  bets  are  'bad'  bets.  You  should
  268.      decide for yourself.
  269.  
  270.     * The best time to Double Down is when you have a  10  or  11  showing.
  271.       This is because the odds are, if you take one more card, it will be a
  272.       10-card.
  273.  
  274.  
  275. Well, I hope you enjoy the game. As always, if you find any bugs, or can
  276. think of any improvements, or just want to say 'Hello' drop me a line at
  277. one of the nodes listed at the top of this doc!
  278.  
  279. /\/\opp.....
  280.